package com.tianma315.admin.device.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.tianma315.admin.common.base.CoreService;
import com.tianma315.admin.device.domain.DeviceTypeDO;

import java.util.List;

/**
 * 
 * <pre>
 * 设备类型
 * </pre>
 * <small> 2019-05-22 16:08:48 | Aron</small>
 */
public interface DeviceTypeService extends CoreService<DeviceTypeDO> {
    Page<DeviceTypeDO> getDeviceTypeDOPage(Integer pageNumber, Integer pageSize, DeviceTypeDO deviceTypeDTO);

    boolean addDeviceTypeDO(DeviceTypeDO deviceTypeDO);

    boolean deleteDeviceTypeDO(Integer id);

    List<DeviceTypeDO> getDeviceTypeDOList();
    List<DeviceTypeDO> getDeviceTypeDOList(DeviceTypeDO deviceTypeDO);

    List<DeviceTypeDO> getDeviceTypeByName(String DeviceTypeName);
    
}
